﻿@model List<KhatVongViet.Models.Article>
@{
    <div class="div_content_large_ver2" style="margin-top:-8px">
        <div class="div_content_main_large_ver2">
            <a href="/Home/DetailArticle?idArticle=@Model[0].ID">
                <img src="@Model[0].Image" alt="@Model[0].Image" /></a>
            <div class="box_title_main_article_ver2">
                <a href="/Home/DetailArticle?idArticle=@Model[0].ID" class="title_mini_link_ver2">@Model[0].Title</a>
            </div>
            <div class="box_sub_main_article_ver2">
                <p>
                    @Model[0].DateCreate</p>
            </div>
            <div class="box_tomtat_main_article_ver2">
                <p>
                    @Model[0].Summary</p>
            </div>
        </div>
        @for (int i = 1; i < Model.Count; i++)
        {
            <div class="box_main_mini_article_ver2">
                <a href="/Home/DetailArticle?idArticle=@Model[i].ID">
                    <img src="@Model[i].Image" alt="@Model[i].Image" /></a>
                <div class="box_title_mini_article_ver2">
                    @if (@Model[i].Title != null)
                    {
                        <a href="/Home/DetailArticle?idArticle=@Model[i].ID" class="title_mini_link_ver2">@Model[i].Title</a>
                    }
                </div>
                <div class="box_sub_mini_article_ver2">
                    <p>
                        @Model[i].DateCreate</p>
                </div>
            </div>
        }
    </div>
}
